package com.henghai.zhenxuan.ui.page.adapter;

import android.content.Context;

import androidx.recyclerview.widget.RecyclerView;

import com.henghai.zhenxuan.data.bean.MyTeamBean;
import com.henghai.zhenxuan.databinding.AdapterTeamItemBinding;
import com.kunminx.binding_recyclerview.adapter.SimpleDataBindingAdapter;

public class MyTeamListAdapter extends SimpleDataBindingAdapter<MyTeamBean, AdapterTeamItemBinding> {

    public MyTeamListAdapter(Context context) {
        super(context, com.henghai.zhenxuan.R.layout.adapter_team_item, DiffUtils.getInstance().getMyTeamCallback());
    }

    @Override
    protected void onBindItem(AdapterTeamItemBinding adapterTaskItemBinding, MyTeamBean myTeamBean, RecyclerView.ViewHolder viewHolder) {
        adapterTaskItemBinding.setVm(myTeamBean);
    }
}
